<?php
	include('db_config.php');
	$sql_name = getRequest('sn');
	if(empty($sql_name)||!isset($$sql_name)){Log_Log::write($sql_name."变量值为空或未配置\r\n");exit('-1');}
	$db = DB_Sqlite2::initialize();
	if(!$db->query($$sql_name)){
		Log_Log::write($sql_name."执行".$$sql_name."时失败，错误信息：".$db->getLastError());
	}
	exit('1');
?>